win = _gtk_widget_get_pointer_window (widget);
if (win)
{
- gdk_window_get_user_data (win, &wid);
+ gdk_window_get_user_data (win, (gpointer *)&wid);
if (wid == widget)
return TRUE;
}
}
else if (strcmp (element_name, "action") == 0)
{
- gchar *action_name = NULL;
- gchar *description = NULL;
- gchar *context = NULL;
+ const gchar *action_name = NULL;
+ const gchar *description = NULL;
+ const gchar *msg_context = NULL;
gboolean translatable = FALSE;
AtkActionData *action;
/* do nothing, comments are for translators */
}
else if (strcmp (names[i], "context") == 0)
- context = values[i];
+ msg_context = values[i];
else
{
g_markup_parse_context_get_position (context,
action = g_slice_new (AtkActionData);
action->action_name = g_strdup (action_name);
action->description = g_string_new (description);
- action->context = g_strdup (context);
+ action->context = g_strdup (msg_context);
action->translatable = translatable;
data->actions = g_slist_prepend (data->actions, action);